extends "../tashigan-2/tashigan-2.gd"


func _extInit():
	._extInit()
	lv = 3             #等级的设置
	addSkill("每{cd}秒使周围1格的友军(含自己)造成的所有伤害为真实伤害，持续3秒", "火力向导", "tashigan3", 10)

#火力向导 范围
var p3 = 1
#火力向导 持续时间
var p32 = 3
func _castCdSkill(id):
	._castCdSkill(id)
	if id=="tashigan3":
		tashigan3()

func tashigan3():
	for i in getAroundChas(cell, true, self):
		i.addBuff(b_fireGuide.new(p32))

class b_fireGuide:
	extends "../../../azurlane_ctrl/AzurBuff.gd"
	func _init(lv = 1):
		attInit()
		id = "b_fireGuide"
		life = lv
		buffName = "火力向导"
	func _connect():
		masCha.connect("onAtkInfo",self,"run")
	func run(atkInfo):
		atkInfo.hurtType = sys.HurtType.REAL